﻿@model IEnumerable<HMoPro.Models.Categoryleft>


@{
    ViewBag.Title = "GetCategory";
}

<h2>GetCategory</h2>


<div>sddffsdfsdfsdfsdfsdfsfds</div>
@foreach (var item in Model) 

{
    <span>@item.categoryparent.Name</span>
    
    <ul>
        @foreach (var child in item.categorychild)
        {
            <li>@child.Name</li>       
        } 



    </ul>




}